package com.demo.shiroDemos.mapper;

import com.demo.shiroDemos.model.OperatorRole;
import com.demo.shiroDemos.model.OperatorRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OperatorRoleMapper {
    int countByExample(OperatorRoleExample example);

    int deleteByExample(OperatorRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OperatorRole record);

    int insertSelective(OperatorRole record);

    List<OperatorRole> selectByExample(OperatorRoleExample example);

    OperatorRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OperatorRole record, @Param("example") OperatorRoleExample example);

    int updateByExample(@Param("record") OperatorRole record, @Param("example") OperatorRoleExample example);

    int updateByPrimaryKeySelective(OperatorRole record);

    int updateByPrimaryKey(OperatorRole record);
}